<?php
/**
 * Created by PhpStorm.
 * User: gakuin
 * Date: 16/8/17
 * Time: 下午3:17
 */
use app\assets\AppAsset;
use yii\helpers\Html;
AppAsset::register($this);

$baseUrl = Yii::$app->request->baseUrl;
AppAsset::addCss($this, $baseUrl . "/css/personal-center.css");
AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/personal-center.js");
$this->title = '我的个人中心';

?>
<div style="background-color: #eeeeee;width: 100%;height: 100%">


    <div class="userDetail">
<!--        <img  class="headerImg" src="--><?//= $baseUrl ?><!--/images/headDefault.jpg">-->
        <img class="headerImg" src=<?= $headimgurl ?> >
    </div>


    <div class="myCenter"  onclick="clickMyOrder()">
        <img class="orderImg" src="<?= $baseUrl ?>/images/order@3x.png">
        <span class="order">我的订单</span>
    </div>

    <div class="myCenter"  onclick="clickMyAddress()">
        <img class="addressImg" src="<?= $baseUrl ?>/images/adress@3x.png">
        <span class="address">我的地址</span>
    </div>

    <div class="myCenter"  onclick="clickMyCollection()">
        <img class="collectioImg" src="<?= $baseUrl ?>/images/star_icon_clicked@1x.png">
        <span class="collection">我的收藏</span>
    </div>


    <div class="logoutDiv" onclick="clickLogout()">退出</div>





</div>




<div id="bg"></div>

